package com.example.demo.service.impl;

import com.example.demo.entity.RoleEntity;
import com.example.demo.entity.RoleMenuEntity;
import com.example.demo.mapper.RoleMapper;

import com.example.demo.mapper.RoleMenuMapper;
import com.example.demo.service.RoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleMenuServiceImpl implements RoleMenuService {

    // @Resource
    @Autowired
    private RoleMenuMapper roleMenuMapper;



    @Override
    public List<RoleMenuEntity> roleMenuList() {
        return roleMenuMapper.rollMenuList();
    }
}
